package com.ruoyi.vehicleDispatch.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 派单半径规则对象 dispatch_radius_rule
 * 
 * @author niuyi
 * @date 2025-08-19
 */
public class DispatchRadiusRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer ruleId;

    /** 面积类型 */
    @Excel(name = "面积类型")
    private String areaType;

    /** 最大公里 */
    @Excel(name = "最大公里")
    private BigDecimal minRadius;

    /** 最小公里 */
    @Excel(name = "最小公里")
    private BigDecimal maxRadius;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否活动 */
    @Excel(name = "是否活动")
    private Integer isActive;

    public void setRuleId(Integer ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Integer getRuleId() 
    {
        return ruleId;
    }

    public void setAreaType(String areaType) 
    {
        this.areaType = areaType;
    }

    public String getAreaType() 
    {
        return areaType;
    }

    public void setMinRadius(BigDecimal minRadius) 
    {
        this.minRadius = minRadius;
    }

    public BigDecimal getMinRadius() 
    {
        return minRadius;
    }

    public void setMaxRadius(BigDecimal maxRadius) 
    {
        this.maxRadius = maxRadius;
    }

    public BigDecimal getMaxRadius() 
    {
        return maxRadius;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setIsActive(Integer isActive) 
    {
        this.isActive = isActive;
    }

    public Integer getIsActive() 
    {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ruleId", getRuleId())
            .append("areaType", getAreaType())
            .append("minRadius", getMinRadius())
            .append("maxRadius", getMaxRadius())
            .append("description", getDescription())
            .append("isActive", getIsActive())
            .toString();
    }
}
